package com.jie.langlangmall.service.impl;

import com.jie.langlangmall.mapper.OmsCompanyAddressMapper;
import com.jie.langlangmall.model.OmsCompanyAddress;
import com.jie.langlangmall.model.OmsCompanyAddressExample;
import com.jie.langlangmall.service.OmsCompanyAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/28
 * @Email 3217998214@qq.com
 * @Description
 */
@Service
public class OmsCompanyAddressServiceImpl implements OmsCompanyAddressService {

    @Autowired
    private OmsCompanyAddressMapper companyAddressMapper;

    @Override
    public List<OmsCompanyAddress> list() {
        return companyAddressMapper.selectByExample(new OmsCompanyAddressExample());
    }

}
